package inverting_para;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class test {
	public static void main(String[] args) {

		inverting_paragraph rp = new inverting_paragraph();
		List<String> str_list = new ArrayList<String>();
		Scanner sc = new Scanner(System.in);

		while (sc.hasNext()) {
			str_list.add(sc.nextLine());
		}

rp.reversePara(str_list);	
		
	}

}
